<template>
  <div class="cf modal-footer">
    <i-button class="rf" :loading="loading" type="primary" @click="save">保存</i-button>
    <i-button class="rf" @click="close" style="margin-right: 30px;">取消</i-button>
  </div>
</template>
<script type="text/ecmascript-6">
  export default{
    name: 'modal-footer',
    components: {},
    props: ['loading'],
    data () {
      return {}
    },
    methods: {
      save () {
        this.$emit('save')
      },
      close () {
        this.$emit('close')
      }
    }
  }
</script>
<style lang="less">
</style>
